package com.service;

import com.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserService {
    /**用户模块业务层接口*/
    public List<SysUser> getList(SysUser sysUser);

    /**保存用户*/
    public boolean add(SysUser sysUser);

    boolean delete(int id);

    int update(@Param("id") int id, @Param("password") String password);

    int updateUser(SysUser sysUser);
}
